﻿using AutoMapper;
using Medical.Api.Write.Application.Command.Wms.WmsStorageCommand;
using Medical.Domain.Wms;

namespace Medical.Api.Write.AutoMapper
{
    /// <summary>
    /// 入库映射
    /// </summary>
    public class WmsMapper : Profile
    {
        public WmsMapper()
        {
            CreateMap<AddWmsStorageCommand, WmsStorage>();
            CreateMap<AuditStorageStateCommand, WmsStorage>();
            CreateMap<WmsStorageDetailCommand, WmsStorageDetail>(); 
            CreateMap<UptStorageCommand, WmsStorage>(); 
            CreateMap<UptStorageDetailCommand, WmsStorageDetail>(); 
        }
    }
}
